#include <stdio.h>
#include <time.h>
#include <stdlib.h>

#define ROWS 11
#define COLS 11

#define ROW 9
#define COL 9

#define Easy_Count 10

void InitBoard(char board[ROWS][COLS],int rows,int cols,char set);

void DisplayBoard(char board[ROWS][COLS],int row,int col);

void Put_mine(char board[ROWS][COLS],int row,int col);

void Find_mine(char mine[ROWS][COLS],char show[ROWS][COLS],int row,int col,char set);

int Determine_Mine(char board[ROWS][COLS],int x,int y);

void Extend(char mine[ROWS][COLS],char show[ROWS][COLS],int rows,int cols,char set);

int Winner_Game(char board[ROWS][COLS],int row,int col,char set);
